#pragma once

#include "mod.h"

namespace sfc::log {

struct Entry {
  Level level;
  Str time;
  Str msg;
};

struct IBackend {
  // void SFC_FUNC(x)(Entry entry)
  // typedef void write_entry_t(Entry entry);
  //
  // typedef void SFC_DYN_FUNC(test);
  // typedef void SFC_DYN_FUNC(write_entry, Entry entry);
  auto test1() {
    return write_entry;
  }
  void write_entry(Entry entry) {
  }
};

}  // namespace sfc::log
